<template>
  <div style="padding-right:100px;">
    <z-form :data="dataList" :formProps="tab1FormProps" :fields="tab1Fields"></z-form>
  </div>
</template>

<script>
import commonMixin from '@/views/_common/mixin'
export default {
  name: '',
  mixins: [commonMixin],
  components: {},
  props: {
    dataList: {
      type: Object,
      default: {},
    },
  },
  data() {
    return {
      tab1FormProps: {
        disabled: true,
        labelWidth: '140px',
      },
      tab1Fields: [
        { title: '设备类型', key: 'machine_type_name', span: 8 },
        { title: '设备编号', key: 'machine_code', span: 8 },
        {
          title: '设备名称',
          key: 'machine_name',
          span: 8,
        },
        { title: '设备规格型号', key: 'machine_description', span: 8 },
        { title: '设备出厂编号', key: 'factory_number', span: 8 },
        { title: '设备状态', key: 'machine_status', span: 8 },
        { title: '制造商', key: 'manufacturer', span: 24 },
        { title: '供应商', key: 'vendor_name', span: 8 },
        { title: '签收人', key: 'signed_by', span: 8 },
        { title: '签收日期', key: 'signed_date', span: 8 },
        { title: '管理人', key: 'custodian', span: 8 },
        // { title: '工程码', key: 'e_code', span: 8 },
        { title: '登记日期', key: 'register_date', span: 8 },
        { title: '所属工厂', key: 'plant_name', span: 8 },
        { title: '所属线体', key: 'line_name', span: 8 },
        { title: '修改人', key: 'modify_user', span: 8 },
        { title: '最后修改时间', key: 'modify_time' },
      ],
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {},
}
</script>

<style lang="less" scoped></style>